interface FetchAssessmentListAPIResData {
  code: number
  msg: string
  time: string
  data: Question[]
}

/**
 * @description 根据传入的班级 id，获取评估试题列表
 */
export function fetchAssessmentListAPI(classId: string, token: string) {
  return httpInstance.get<FetchAssessmentListAPIResData>(
    '/api/sign/survey_list',
    { params: { id: classId }, headers: { token } },
  )
}
